package com.food.user.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * <p>
 * 订单包含的所有菜品
 * </p>
 *
 * @author 帅得一
 * @since 2023年06月17日
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("order_food")
public class OrderFood implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * ID
     */
    @TableId(value = "order_food_id", type = IdType.AUTO)
    private Long orderFoodId;

    /**
     * 订单编号
     */
    @TableField("order_food_order_num")
    private String orderFoodOrderNum;

    /**
     * 菜品ID
     */
    @TableField("order_food_food_id")
    private Long orderFoodFoodId;

    /**
     * 菜品名称
     */
    @TableField("order_food_food_name")
    private String orderFoodFoodName;

    /**
     * 数量
     */
    @TableField("order_food_count")
    private Integer orderFoodCount;

    /**
     * 价格
     */
    @TableField("order_food_price")
    private String orderFoodPrice;


}
